clear controls from panel c#

54

clear controls from panel c# -

    //to remove all comboboxes
    foreach (Control item in panel1.Controls.OfType<ComboBox>())
    {
        panel1.Controls.Remove(item); 
    }

Comments

Submit
0 Comments